package com.lanqiao.service;

import com.github.pagehelper.Page;
import com.lanqiao.vo.District;
import com.lanqiao.vo.House;
import com.lanqiao.vo.Street;
import com.lanqiao.vo.Types;

import java.util.List;

/**
 * Created by Administrator on 2018/10/4.
 */
public interface IHouseService {

    List<House> selectBySelective(House house, int pageNum, int pageSize);

    List<District> selectDistrict();

    List<Street> selectStreetByDistrictId(Integer districtId);

    int insert(House house);

    Page<House> selectByMe(Integer userId, Integer pageNum, int pageSize);

    House selectById(Integer hid);

    List<Types> selectTypes();

    int update(House house);

    int delete(Integer id);
}
